<template>
  <div class="bg">
    <div class="top">
<!-- 路由元信息使用方式 -->
      <p class="topw">{{$route.meta.title?$route.meta.title:'商品详情'}}</p>
    </div>
  </div>
</template>
<script>
export default {};
</script>
<style>
.bg {
  width: 7.5rem;
  height: 0.88rem;
  background: #ff6040;
  padding-top: 0.88rem;

  position: fixed;
  top: 0;
  z-index: 2;
  /* border-top: 5px #ff6040 solid; */
}
.top {
  width: 7.5rem;
  height: 0.88rem;
  display: flex;
  margin: 0 auto;

}
.top1 {
  font-size: 0.34rem;
  color: white;
  margin-left: 0.5rem;
  position: relative;
  top: 0.22rem;
}
.topw {
  /* margin-left: 2.5rem; */
  margin: 0 auto;

  font-size: 0.48rem;
  color: white;
}
</style>